<?php
/**
 * Created by PhpStorm.
 * User: linux
 * Date: 11/01/2018
 * Time: 10:21 AM
 */

namespace Bridge;


abstract class Shape
{
    protected $drawApi = null;

    /**
     * Shape constructor.
     * @param DrawAPI $drawApi
     */
    public function __construct(DrawAPI $drawApi)
    {
        $this->drawApi = $drawApi;
    }

    /**
     * @return mixed
     */
    abstract function draw();
}